package com.hnxxxy.statistics.service.Impl;

import com.hnxxxy.statistics.mapper.SelectMapper;
import com.hnxxxy.statistics.pojo.College;
import com.hnxxxy.statistics.service.SelectService;
import com.sun.deploy.security.SelectableSecurityManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SelectServiceMapper implements SelectService {

    @Autowired
    private SelectMapper selectMapper;


    @Override
    public List getSeleCollegectList() {
        System.out.println(selectMapper.getCollegeSelectList());
        return selectMapper.getCollegeSelectList();
    }

    @Override
    public List getMajorSelectList(String groupid) {
        return selectMapper.getMajorSelectList(groupid);
    }

    @Override
    public List getMClassSelectList(String groupid) {
        return selectMapper.getClassSelectList(groupid);
    }
}
